package yl.hs.bmipfull.pojo.flow;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.util.Date;

/**
 * @author 谢东
 * @apiNote 流程任务信息实体类
 * @since 2021年07月13日 10时43分51秒
 */
@DBTable(disName = "流程任务信息", mapCode = "flow_user_task")
public class FlowUserTaskEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "流程任务信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 数据编号
     */
    private String objectSN;
    /**
     * 任务类型
     */
    private String taskType;
    /**
     * 数据类型
     */
    private String dataType;

    /**
     * 数据类型代码
     */
    private String dataCode;
    /**
     * 处理人编号
     */
    private String userSN;
    /**
     * 用户姓名
     */
    private String userName;
    /**
     * 任务名称
     */
    private String taskName;
    /**
     * 任务信息链接
     */
    private String taskLink;
    /**
     * 任务状态
     */
    private Short taskState;
    /**
     * 流程处理链接
     */
    private String processLink;
    /**
     * 读取时间
     */
    private Date readTime;
    /**
     * 处理时间
     */
    private Date processTime;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 处理结果
     */
    private Short result;
    /**
     * 审批意见
     */
    private String remark;
    /**
     * 流程数据编号
     */
    private String flowDataSN;
    /**
     * 流程编号
     */
    private String flowSN;
    /**
     * 流程节点编号
     */
    private String flowNodeSN;
    /**
     * 处理人编号
     */
    private String handlerUserSN;


    public String getHandlerUserSN() {
        return handlerUserSN;
    }

    public void setHandlerUserSN(String handlerUserSN) {
        this.handlerUserSN = handlerUserSN;
    }

    public String getDataCode() {
        return dataCode;
    }

    public void setDataCode(String dataCode) {
        this.dataCode = dataCode;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getObjectSN() {
        return this.objectSN;
    }

    public void setObjectSN(String objectSN) {
        this.objectSN = objectSN;
    }

    public String getTaskType() {
        return this.taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public String getDataType() {
        return this.dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public String getUserSN() {
        return this.userSN;
    }

    public void setUserSN(String userSN) {
        this.userSN = userSN;
    }

    public String getTaskName() {
        return this.taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getTaskLink() {
        return this.taskLink;
    }

    public void setTaskLink(String taskLink) {
        this.taskLink = taskLink;
    }

    public Short getTaskState() {
        return this.taskState;
    }

    public void setTaskState(Short taskState) {
        this.taskState = taskState;
    }

    public String getProcessLink() {
        return this.processLink;
    }

    public void setProcessLink(String processLink) {
        this.processLink = processLink;
    }

    public Date getReadTime() {
        return this.readTime;
    }

    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    public Date getProcessTime() {
        return this.processTime;
    }

    public void setProcessTime(Date processTime) {
        this.processTime = processTime;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Short getResult() {
        return this.result;
    }

    public void setResult(Short result) {
        this.result = result;
    }

    public String getRemark() {
        return this.remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getFlowDataSN() {
        return this.flowDataSN;
    }

    public void setFlowDataSN(String flowDataSN) {
        this.flowDataSN = flowDataSN;
    }

    public String getFlowSN() {
        return this.flowSN;
    }

    public void setFlowSN(String flowSN) {
        this.flowSN = flowSN;
    }

    public String getFlowNodeSN() {
        return this.flowNodeSN;
    }

    public void setFlowNodeSN(String flowNodeSN) {
        this.flowNodeSN = flowNodeSN;
    }

}